using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_HoSoBaoHanhSuaChuaEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_HoSoBaoHanhSuaChuaEntity()
         {
             tableName = "TBL_HoSoBaoHanhSuaChua";


			 fieldInfos.Add(new FieldInfo("TBL_HoSoBaoHanhSuaChua","DaiDienNhaCungCap","DaiDienNhaCungCap","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_HoSoBaoHanhSuaChua","MaHSBaoHanh","MaHSBaoHanh","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_HoSoBaoHanhSuaChua","NgayGiaoThietBi","NgayGiaoThietBi","string",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_HoSoBaoHanhSuaChua","NgayHenTra","NgayHenTra","string",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_HoSoBaoHanhSuaChua","NgayLap","NgayLap","string",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_HoSoBaoHanhSuaChua","NguoiLap","NguoiLap","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_HoSoBaoHanhSuaChua","NoiDungBaoHanh","NoiDungBaoHanh","string",200,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_DaiDienNhaCungCap;
		 protected string m_MaHSBaoHanh;
		 protected string m_NgayGiaoThietBi;
		 protected string m_NgayHenTra;
		 protected string m_NgayLap;
		 protected string m_NguoiLap;
		 protected string m_NoiDungBaoHanh;

		 public string DaiDienNhaCungCap

          { 
                get { 
                    return m_DaiDienNhaCungCap;}

                set{m_DaiDienNhaCungCap=value;

                    GetField("DaiDienNhaCungCap").Set();
                    GetField("DaiDienNhaCungCap").IsNull=(value == null);           
                    }
          }
		 public string MaHSBaoHanh

          { 
                get { 
                    return m_MaHSBaoHanh;}

                set{m_MaHSBaoHanh=value;

                    GetField("MaHSBaoHanh").Set();
                    GetField("MaHSBaoHanh").IsNull=(value == null);           
                    }
          }
		 public string NgayGiaoThietBi

          { 
                get { 
                    return m_NgayGiaoThietBi;}

                set{m_NgayGiaoThietBi=value;

                    GetField("NgayGiaoThietBi").Set();
                    GetField("NgayGiaoThietBi").IsNull=(value == null);           
                    }
          }
		 public string NgayHenTra

          { 
                get { 
                    return m_NgayHenTra;}

                set{m_NgayHenTra=value;

                    GetField("NgayHenTra").Set();
                    GetField("NgayHenTra").IsNull=(value == null);           
                    }
          }
		 public string NgayLap

          { 
                get { 
                    return m_NgayLap;}

                set{m_NgayLap=value;

                    GetField("NgayLap").Set();
                    GetField("NgayLap").IsNull=(value == null);           
                    }
          }
		 public string NguoiLap

          { 
                get { 
                    return m_NguoiLap;}

                set{m_NguoiLap=value;

                    GetField("NguoiLap").Set();
                    GetField("NguoiLap").IsNull=(value == null);           
                    }
          }
		 public string NoiDungBaoHanh

          { 
                get { 
                    return m_NoiDungBaoHanh;}

                set{m_NoiDungBaoHanh=value;

                    GetField("NoiDungBaoHanh").Set();
                    GetField("NoiDungBaoHanh").IsNull=(value == null);           
                    }
          }

}
}
